<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_users
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

jimport('joomla.application.component.view');

class BaseViewUsuarios extends JView
{
	protected $data;
	protected $form;
	protected $params;
	protected $state;

	/**
	 * Method to display the view.
	 *
	 * @param	string	The template file to include
	 * @since	1.6
	 */
	public function display($tpl = null)
	{

		//agregamos el javascript
		$doc =& JFactory::getDocument();
		$patch=JURI::root(true).DS."components".DS."com_base".DS."includes";
		$doc->addScript($patch."/js/funciones_view_usuarios.js");
		$doc->addScript($patch."/js/funciones_view_tipos.js");
		$doc->addScript($patch."/js/funciones_view_cargos.js");
		$doc->addScript($patch."/js/funciones_view_menus.js");
		$doc->addScript($patch."/js/funciones_view_grupos.js");
		$doc->addScript($patch."/js/funciones_view_discapacidades.js");
		
		parent::display($tpl);
	}

}
		